Conversation
|
/hold |
|
this fails with when the config starts to appear in the observed config. The same code works in kube-apiserver-operator 🤔 |
| @@ -291,6 +293,20 @@ func managePod(configMapsGetter corev1client.ConfigMapsGetter, secretsGetter cor | |||
| required.Spec.Containers[0].Args = append(required.Spec.Containers[0].Args, "--tls-private-key-file=/etc/kubernetes/static-pod-resources/secrets/serving-cert/tls.key") | |||
There was a problem hiding this comment.
manageKubeControllerManagerConfig() needs to use MergePrunedConfigMap() instead, this function removes fields that are not part of the config object from observedConfig
|
/hold |
|
/hold |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@deads2k: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
| "strings" | ||
| "time" | ||
|
|
||
| yaml "gopkg.in/yaml.v2" |
|
/close |
|
@soltysh: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Equivalent of openshift/cluster-kube-apiserver-operator#530 for kube-controller-manager. It's probably worth it to de-dupe the envvar creation itself.